package com.cloud.pole.shop.service.user;

import java.util.List;

import org.springframework.web.bind.annotation.RequestParam;

import com.cloud.pole.shop.model.entity.shops.ShopShops;
import com.cloud.pole.shop.model.entity.user.ShopUserDeliAddr;

/*
*2019年3月1日
*cloud-shop
*author:frank-chen
*/
public interface UserDeliAddrService {

	public Integer addDeliAddr(String token, String name, String tel, String proId, String cityId, 
			String districtId, String proName, String cityName, String districtName,  String address, Integer defaultTag) throws Exception;
	
	public boolean modifyDeliAddr(String token, Integer addrId, String name, String tel, String proId, String cityId, 
			String districtId, String proName, String cityName, String districtName,  String address, Integer defaultTag) throws Exception;
	
	public ShopUserDeliAddr getDeliAddr(String token, Integer addrId) throws Exception;
	
	public ShopUserDeliAddr getDefaultDeliAddr(String token) throws Exception;
	
	public boolean setDefaultDeliAddr(String token, Integer addrId) throws Exception;
	
	public boolean delDeliAddr(String token, Integer addrId) throws Exception;	
	
	public List<ShopUserDeliAddr> getDeliAddrList(String token) throws Exception;
}
